<?php

class Ead_Model_DbTable_Curso extends Zend_Db_Table_Abstract
{

    protected $_name = 'CURSO';
    protected $_primary = 'CUR_ID';
    
    protected $_dependentTables = array('Ead_Model_DbTable_Catcurso',
        'Ead_Model_DbTable_PermissaoHasCurso',
        );
    
     protected $_referenceMap = array( 
         'refCom' => array( 
         'refTableClass' => 'Ead_Model_DbTable_Compra', 
         'refColumns' => array('CUR_ID'), 
         'columns' => array('CUR_ID') 
         ),
         'refPer' => array( 
         'refTableClass' => 'Ead_Model_DbTable_PermissaoHasCurso', 
         'refColumns' => array('CUR_ID'), 
         'columns' => array('CUR_ID') 
         )
     );
}
